package cn.zktr.Personnel.model.pojos;

import java.io.Serializable;
import javax.persistence.*;
import java.sql.Timestamp;


/**
 * The persistent class for the per_cwa_sst database table.
 * 
 */
@Entity
@Table(name="per_cwa_sst")
@NamedQuery(name="PerCwaSst.findAll", query="SELECT p FROM PerCwaSst p")
public class PerCwaSst implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	private int sstid;

	private String sstrem;

	private Timestamp ssttime;

	//bi-directional many-to-one association to PerCwaCwas
	@ManyToOne
	@JoinColumn(name="CWASID")
	private PerCwaCwas perCwaCwa1;

	//bi-directional many-to-one association to PerCwaCwas
	@ManyToOne
	@JoinColumn(name="PER_CWASID")
	private PerCwaCwas perCwaCwa2;

	//bi-directional many-to-one association to PerCwaRsn
	@ManyToOne
	@JoinColumn(name="RSNID")
	private PerCwaRsn perCwaRsn;

	//bi-directional many-to-one association to PerPmsEmp
	@ManyToOne
	@JoinColumn(name="EMPID")
	private PerPmsEmp perPmsEmp;

	public PerCwaSst() {
	}

	public int getSstid() {
		return this.sstid;
	}

	public void setSstid(int sstid) {
		this.sstid = sstid;
	}

	public String getSstrem() {
		return this.sstrem;
	}

	public void setSstrem(String sstrem) {
		this.sstrem = sstrem;
	}

	public Timestamp getSsttime() {
		return this.ssttime;
	}

	public void setSsttime(Timestamp ssttime) {
		this.ssttime = ssttime;
	}

	public PerCwaCwas getPerCwaCwa1() {
		return this.perCwaCwa1;
	}

	public void setPerCwaCwa1(PerCwaCwas perCwaCwa1) {
		this.perCwaCwa1 = perCwaCwa1;
	}

	public PerCwaCwas getPerCwaCwa2() {
		return this.perCwaCwa2;
	}

	public void setPerCwaCwa2(PerCwaCwas perCwaCwa2) {
		this.perCwaCwa2 = perCwaCwa2;
	}

	public PerCwaRsn getPerCwaRsn() {
		return this.perCwaRsn;
	}

	public void setPerCwaRsn(PerCwaRsn perCwaRsn) {
		this.perCwaRsn = perCwaRsn;
	}

	public PerPmsEmp getPerPmsEmp() {
		return this.perPmsEmp;
	}

	public void setPerPmsEmp(PerPmsEmp perPmsEmp) {
		this.perPmsEmp = perPmsEmp;
	}

}